import { request } from '~/api/request'

export const queryCaseList = (data: any): any =>
  request('post', '/api/internal/v1/queryModule/query/itemPic/caseList', data)

export const queryCaseItems = (data: any): any =>
  request('post', '/api/internal/v1/queryModule/query/itemPic/caseItems', data)

export const queryDetail = (data: any): any =>
  request('post', '/api/internal/v1/queryModule/query/itemPic/detail', data)

export const queryPictureNameList = (): any => request('get', '/api/internal/v1/store/getPictureNameList')

export const queryPictures = (data: any): any => request('post', '/api/internal/v1/store/queryPictures', data)

export const handlePictures = (data: any): any => request('post', '/api/internal/v1/item/opt/uploadPic', data)
